package com.yinxin.mapper;

import com.yinxin.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Repository;

/**
 * @Author: YinXin
 * @Date: 2021/9/10 17:00
 * @Version: 1.0
 * @description:
 */
@Component
@Mapper
public interface UserMapper {
    List<User> selectUser();
    Integer deleteUserById(Integer id);
    Integer insertUser(User user);
    Integer updateUserById(User user);
}
